package top.hcode.hoj.pojo.dto.coll;

import lombok.Data;
import top.hcode.hoj.pojo.entity.coll.CollQuestionOption;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author orangej
 * @since 2025/2/14
 */
@Data
public class AdmSaveCollQuestionOptionsDTO {
    @NotBlank(message = "题目id不能为空")
    private String questionId;

    @NotEmpty(message = "选项列表不能为空")
    private List<CollQuestionOption> optionList;
}
